@import "@vue-flow/core/dist/style.css";
@import "@vue-flow/core/dist/theme-default.css";
@import "@vue-flow/controls/dist/style.css";
@import "@vue-flow/minimap/dist/style.css";
@import "@vue-flow/node-resizer/dist/style.css";

/* 覆盖默认样式 */
:root {
  --vf-handle: #c5c5c9;
}

html,
body,
#app {
  margin: 0;
  height: 100%;
}

#app {
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

.vue-flow__minimap {
  transform: scale(75%);
  transform-origin: bottom right;
}


.basic-flow.dark {
  background:#242424;
  color:#fffffb
}

.basic-flow.dark .vue-flow__node {
  background:#4a5568;
  color:#fffffb
}

.basic-flow.dark .vue-flow__node.selected {
  background:#333;
  box-shadow:0 0 0 2px #2563eb
}

.basic-flow .vue-flow__controls {
  display:flex;
  flex-wrap:wrap;
  justify-content:center
}

.basic-flow.dark .vue-flow__controls {
  border:1px solid #FFFFFB
}

.basic-flow .vue-flow__controls .vue-flow__controls-button {
  border:none;
  border-right:1px solid #eee
}

.basic-flow .vue-flow__controls .vue-flow__controls-button svg {
  height:100%;
  width:100%
}

.basic-flow.dark .vue-flow__controls .vue-flow__controls-button {
  background:#242424;
  fill:#fffffb;
  border:none
}

.basic-flow.dark .vue-flow__controls .vue-flow__controls-button:hover {
  background:#4d4d4d
}

.basic-flow.dark .vue-flow__edge-textbg {
  fill:#292524
}

.basic-flow.dark .vue-flow__edge-text {
  fill:#fffffb
}